import rclpy
from rclpy.node import Node
class NodeClass(Node):
    def __init__(self,name):
    	super().__init__(name)
    	self.get_logger().info("This is as python class node:{}!".format(name))

def main(args=None):
    rclpy.init(args=args)
    node = NodeClass("node_class")
    rclpy.spin(node)
    rclpy.shutdown()
